#ifndef	__APP_COM_H
#define	__APP_COM_H

#include "stm32g0xx_hal.h"


#define	COM_USART				USART1
#define	COM_HUART				&huart1

#define	COM_BUFLEN				(200)
#define	COM_RECE_TIMEOUT		(30)


#define	MOTOR_CTRL_ADDR			(0x2000)
#define	DOSE_ADDR				(0x1000)
#define	STRENGH_ADDR			(0x1010)
#define	AUTOMODE_ADDR			(0x2010)
#define	NANOMODE_ADDR			(0x2020)



void APP_COM(void);
void APP_SendStartWork(void);
void APP_SendStopWork(void);


#endif


